package com.flyduck.mall.ums.domain;

import com.flyduck.ss.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 用户对象 ums_user
 *
 * @author flyduck
 * @date 2025-02-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ums_user")
public class UmsUser extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private String phoneNumber;

    /**
     * 
     */
    private String avatar;

    /**
     * 
     */
    private Date lastLogin;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

    /**
     * 备注
     */
    private String remark;


}
